<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<!-- 页面主体 start -->
<div data-role="page"  id="syTest">
  <div data-role="header" data-position="fixed">
     <h1 class="c_m_navtitle_syTest"></h1>
      <div data-role="navbar">
    <ul>
       <li><a href="#main" data-icon="home">首页</a></li>
    </ul>
  </div>
  </div>
  <div data-role="content">
  <table data-role="table"  data-mode="columntoggle" data-column-btn-text="隐藏列" class="ui-responsive table-stroke" id="i_sy_syTest_datagrid">
  <thead>
    <tr id="i_sy_syTest_datagrid_columns">
    </tr>
  </thead>
  <tbody id="i_sy_syTest_datagrid_columns_data">
    </tbody>
</table>

  </div>
  <div data-role="footer" data-position="fixed"  class="ui-btn">
  <div data-role="controlgroup" data-type="horizontal" id="i_sy_syTest_datagrid_page">
	<a href="#" id="i_sy_syTest_datagrid_page_upBtn">上一页</a>
	<a href="#" id="i_sy_syTest_datagrid_page_downBtn">下一页</a>
	<a href="#" data-role="button">共:<span id="i_sy_syTest_datagrid_page_total"></span>条</a>
	<a href="#" data-role="button">共:<span id="i_sy_syTest_datagrid_page_count"></span>页</a>
	<a href="#" data-role="button">当前页:<span id="i_sy_syTest_datagrid_page_current"></span></a>
	</div>
  </div>
  <script type="text/javascript">
  var syTestDtId="i_sy_syTest_datagrid";
  var syTestpageId='syTest';
  var syTest_columns= [ [
             	 {
             		field : 'id',
             		checkbox:true, 
             		addform:{type:'eType.Input', hidden:true}, 
             		editform:{type:'eType.Input', hidden:true}, 
             		title:'编号', 
             		width : '150'
             	  }, 
             	 {
             		field : 'doroodoDate',
             		addform:{type:'eType.Input', hidden:false}, 
             		editform:{type:'eType.Input'}, 
             		checkbox:false, 
             		title:'fdsa', 
             		width : '150'
             	  }, 
             	 {
             		field : 'fdsafdsa',
             		title:'日期', 
             		addform:{type:'eType.DateBox'}, 
             		editform:{type:'eType.DateBox'}, 
             		width : '150'
             	  } 
             	] ];
  
  function syTest_init(){
	  //设置项目名，版权
	  $('.c_m_navtitle_syTest').html( $('.c_m_navtitle').html());
	  //构建数据
	  pagingUI(syTestDtId,getUrl('syTest','List'),syTest_columns);
  }
  
  $(function(){
	  syTest_init();
  });
  </script>
</div> 
<!-- 页面主体 start -->
</body>
</html>
